<?php
  function getlanguage($languagecode) {
          if($languagecode=="amh"):
                  $lang="አማርኛ";
          elseif($languagecode=="arz"):
                  $lang="ﺎﻠﻋﺎﻤﻳﺓ ﺎﻠﻤﺻﺮﻳﺓ";
          elseif($languagecode=="arb"):
                  $lang="ﺎﻠﻋﺮﺒﻳﺓ ﺎﻠﻔﺼﺣﻯ";
          elseif($languagecode=="apd"):
                  $lang="ﻞﻬﺟﺓ ﺱﻭﺩﺎﻨﻳﺓ";
          elseif($languagecode=="afr"):
                  $lang="Afrikaans";
          elseif($languagecode=="teo"):
		  $lang="Ateso";
	  elseif($languagecode=="dba"):
                  $lang="Bangime";
          elseif($languagecode=="bas"):
                  $lang="Basaa";
          elseif($languagecode=="ben"):
                  $lang="Bemba";
          elseif($languagecode=="nya"):
                  $lang="Chichewa";
          elseif($languagecode=="dag"):
                  $lang="Dagbani";
          elseif($languagecode=="luo"):
                  $lang="Dholuo";
          elseif($languagecode=="BTD"):
                  $lang="Ben Tey Dogon";
          elseif($languagecode=="N-K"):
                  $lang="Njamba-Kindige";
          elseif($languagecode=="dua"):
                  $lang="Douala";
          elseif($languagecode=="ewo"):
                  $lang="Ewondo";
          elseif($languagecode=="fmp"):
                  $lang="Féfé";
          elseif($languagecode=="fub"):
                  $lang="Adamawa Fulfulde";
          elseif($languagecode=="Bagirmi Fulfulde"):
                  $lang="fui";
          elseif($languagecode=="fue"):
                  $lang="Borgu Fulfulde";
          elseif($languagecode=="fuq"):
                  $lang="Central Eastern Niger Fulfulde";
          elseif($languagecode=="ffm"):
                  $lang="Maasina Fulfulde";
          elseif($languagecode=="fuv"):
                  $lang="Nigerian Fulfulde";
          elseif($languagecode=="fuc"):
                  $lang="Pulaar";
          elseif($languagecode=="fuf"):
                  $lang="Pular";
          elseif($languagecode=="fuh"):
                  $lang="Western Niger Fulfulde";
          elseif($languagecode=="gaa"):
                  $lang="Ga";
          elseif($languagecode=="gho"):
		  $lang="Ghomala";
	  elseif($languagecode=="hgm"):
		  $lang="ǂAakhoe";
          elseif($languagecode=="knw"):
                  $lang="Ekoka ǃKung";
          elseif($languagecode=="ank"):
                  $lang="Gǁana";
          elseif($languagecode=="ktz"):
                  $lang="Juǀʼhoan";
          elseif($languagecode=="naq"):
                  $lang="Khoekhoe";
          elseif($languagecode=="xuu"):
                  $lang="Kxoe";
          elseif($languagecode=="nhr"):
                  $lang="Naro";
	  elseif($languagecode=="kik"):
                  $lang="Gĩkũyũ";
          elseif($languagecode=="gjn"):
                  $lang="Gonja";
          elseif($languagecode=="hau"):
                  $lang="Hausa";
          elseif($languagecode=="ibo"):
                  $lang="Igbo";
          elseif($languagecode=="nde"):
                  $lang="IsiNdebele saseNyakatho";
          elseif($languagecode=="nbl"):
                  $lang="IsiNdebele seSewula";
          elseif($languagecode=="xho"):
                  $lang="isiXhosa";
          elseif($languagecode=="zul"):
                  $lang="isiZulu";
          elseif($languagecode=="bqj"):
                  $lang="Bandial";
          elseif($languagecode=="krx"):
                  $lang="Karon";
          elseif($languagecode=="dhs"):
		  $lang="Dhaiso";
	  elseif($languagecode=="kck"):
		  $lang="Kalanga";
          elseif($languagecode=="kam"):
                  $lang="Kamba";
          elseif($languagecode=="dav"):
                  $lang="Kidawida";
          elseif($languagecode=="nyf"):
		  $lang="Kigiriyama";
	  elseif($languagecode=="pkb"):
		  $lang="Kipfokomo";
          elseif($languagecode=="mer"):
                  $lang="Meru";
          elseif($languagecode=="thk"):
                  $lang="Tharaka";
          elseif($languagecode=="mws"):
                  $lang="Mwimbi-Muthambi";
          elseif($languagecode=="cuh"):
                  $lang="Cuka";
          elseif($languagecode=="kin"):
                  $lang="Kinyarwanda";
          elseif($languagecode=="sgc"):
                  $lang="Kipsigis";
          elseif($languagecode=="swa"):
                  $lang="Kiswahili";
          elseif($languagecode=="kwo"):
                  $lang="Kiwoso";
          elseif($languagecode=="bkm"):
                  $lang="Kom";
          elseif($languagecode=="xon"):
                  $lang="Konkomba";
          elseif($languagecode=="lin"):
                  $lang="Lingala";
          elseif($languagecode=="lug"):
                  $lang="Luganda";
          elseif($languagecode=="bsk"):
                  $lang="Lubukusu";
          elseif($languagecode=="ida"):
                  $lang="Luidhako";
          elseif($languagecode=="rag"):
                  $lang="Lulogoli";
          elseif($languagecode=="lkb"):
                  $lang="Lukabrasi";
          elseif($languagecode=="nle"):
                  $lang="Lunyala";
          elseif($languagecode=="lsm"):
                  $lang="Lusamia";
          elseif($languagecode=="lts"):
                  $lang="Lutachoni";
          elseif($languagecode=="lko"):
                  $lang="Olukhayo";
          elseif($languagecode=="lks"):
                  $lang="Olukisa";
          elseif($languagecode=="lrm"):
                  $lang="Olumarama";
          elseif($languagecode=="nyd"):
                  $lang="Olunyole";
          elseif($languagecode=="lto"):
                  $lang="Olutsotso";
          elseif($languagecode=="lwa"):
                  $lang="Oluwanga";
	  elseif($languagecode=="maa"):
		  $lang="Maasai";
	  elseif($languagecode=="byv"):
                  $lang="Medumba";
          elseif($languagecode=="men"):
                  $lang="Mende";
          elseif($languagecode=="imc"):
                  $lang="Machame";
          elseif($languagecode=="rwk"):
                  $lang="Rwa";
          elseif($languagecode=="nnz"):
                  $lang="Nda'nda'";
          elseif($languagecode=="nnh"):
                  $lang="Ngiemboon";
          elseif($languagecode=="pcm"):
                  $lang="Nigerian Pidgin";
          elseif($languagecode=="yav"):
                  $lang="Nuasue";
          elseif($languagecode=="nge"):
                  $lang="Ŋgə̂mbà";
          elseif($languagecode=="213"):
                  $lang="Runyakitara";
          elseif($languagecode=="saf"):
                  $lang="Safaliba";
          elseif($languagecode=="bwg"):
                  $lang="Barwe";
          elseif($languagecode=="swk"):
                  $lang="Malawian Sena";
          elseif($languagecode=="seh"):
                  $lang="Mozambiquean Sena";
          elseif($languagecode=="sot"):
                  $lang="Sesotho";
          elseif($languagecode=="tsn"):
                  $lang="Setswana";
          elseif($languagecode=="bax"):
                  $lang="Shü Pamom";
          elseif($languagecode=="ssw"):
                  $lang="siSwati";
          elseif($languagecode=="twi"):
                  $lang="Twi";
          elseif($languagecode=="urh"):
                  $lang="Urhobo";
          elseif($languagecode=="wal"):
                  $lang="Wolaytta";
          elseif($languagecode=="wol"):
                  $lang="Wolof";
          elseif($languagecode=="tso"):
                  $lang="Xitsonga";
          elseif($languagecode=="yat"):
                  $lang="Yambeta";
          elseif($languagecode=="yor"):
                  $lang="Yorùbá";
          elseif($languagecode=="dje"):
                  $lang="Zarma";
          endif;

  return $lang;
  }
?>

